package org.cttic.visualization.visualization.controller;

import org.cttic.visualization.visualization.z_service.registerCountQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-05-27 11:16
 * 2.1.6北斗注册车辆汇总统计查询
 */
@RestController
@RequestMapping(value ="/CountQuery")
@CrossOrigin
public class registerCountQueryController {
    @Autowired
    private registerCountQuery registerCountQuery;

    @RequestMapping(value ="/registerQuery")
    public String registerCountQueryInfo(@RequestBody String inputData){
        return registerCountQuery.registerCount(inputData);
    }
}
